package com.tyk.bookstore.front.auth.repository;


import com.tyk.bookstore.front.auth.model.entity.MemberDo;
import com.tyk.bookstore.front.common.dal.mapper.IMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MemberAuthRepository extends IMapper<MemberDo> {
    String selectPasswordByAccount(@Param("account") String account);

    String selectPasswordByPhone(@Param("phone") String phone);

    String selectPasswordByEmail(@Param("email") String email);

    Long selectIdByAccount(@Param("account") String account);

    Long selectIdByPhone(@Param("phone") String phone);

    Long selectIdByEmail(@Param("email") String email);
}
